package DAO;


import java.util.Date;
import java.util.List;

import DTO.ScheduleDTO;

import model.impl.Schedule;
import model.impl.Station;

public interface ScheduleDAO extends GenericDAO<Schedule, Integer> {
	public List<ScheduleDTO> findRequiredTrains(Station beginStation, Station endStation, Date beginTime, Date endTime);
	public List<Schedule> findAllSchedulesByStation(Station station);
	public Schedule findScheduleByScheduleDTO(ScheduleDTO scheduleDTO);
	public Schedule findIsSchedulePossible(ScheduleDTO scheduleDTO);
}
